package service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import mapper.UserMapper;
import model.User;

@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;
	
	public User getById(String id) {
		return userMapper.getById(id);
	}

	public List<User> findPage() {
		return userMapper.findPage();
	}
	
}
